package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@Data

public class EbookEntry  implements Serializable {

	private Integer id;

	private Integer categoryId;

	private String title;

	private String summary;

	private String uploaduser;

	private java.sql.Date createdate;

	public void init(){
		System.out.println("初始化");
	}
	public EbookEntry() {
		System.out.println("无参构造EbookEntry");
	}

	public EbookEntry(Integer categoryId, String title, String summary, String uploaduser, Date createdate) {
		this.categoryId = categoryId;
		this.title = title;
		this.summary = summary;
		this.uploaduser = uploaduser;
		this.createdate = createdate;
	}
}
